import requests

def get_info(token):
    url = "http://27.37.67.47/admin/getInfo"

    headers = {
            "Authorization": f"Bearer {token}",
            "Cookie": f"sidebarStatus=0; Admin-Token={token}",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36"
        }

    res = requests.get(url, headers=headers)
    res.encoding = "utf-8"
    res = res.json()
    code = res.get("code")
    return code



